/*
 * @Author: Lw
 * @Date: 2022-09-01 11:37:49
 * @LastEditors: Lw
 * @LastEditTime: 2022-09-02 14:05:23
 */
import { createRouter, createWebHistory } from 'vue-router'
import demo from '@/views/demo/index.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: demo,
  },
  // {
  //   path: '/info',
  //   name: 'Info',
  //   component: () => import('@/views/Info.vue'),
  // },
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes,
})

export default router
